#!/bin/sh -e

patch -p1 < musl.patch

autoreconf

./configure \
    --prefix=/usr \
    --enable-pcre

make
make DESTDIR="$1" install
